import React, { Component } from 'react'

class Suspense extends Component {
  state = {
    isMount: false
  }
  componentDidMount(){
    this.setState({
      isMount: true
    })
  }
  componentWillUnmount(){
    this.setState({
      isMount: false
    })
  }
}

const container = () => {
  <div>
    
    <Suspense fallback>
      <ListComp />
    </Suspense>
  </div>
}

export default container